package com.yodawnla.attackTitan2;

import org.anddev.andengine.engine.handler.physics.PhysicsHandler;
import org.anddev.andengine.entity.sprite.AnimatedSprite;
import org.anddev.andengine.opengl.texture.region.TiledTextureRegion;

import com.yodawnla.attackTitan2.scene.GameScene;
import com.yodawnla.lib.util.YoVector2;

public class Fish extends AnimatedSprite
{
	GameScene mScene;
	YoVector2 mVector = new YoVector2();	
	PhysicsHandler mPhyHandler;
	
	public Fish(float pX, float pY, TiledTextureRegion pTiledTextureRegion, GameScene scene)
	{
		super(pX, pY, pTiledTextureRegion);
		mScene = scene;
		
		mPhyHandler = new PhysicsHandler(this);
		registerUpdateHandler(mPhyHandler);
	}
	
	public YoVector2 getVector()
	{
		return mVector;
	}
	
	public PhysicsHandler getPhyHandler()
	{
		return mPhyHandler;
	}
}